<?php

class Edds_Helpers_Cambiarskin extends Zend_Controller_Action_Helper_Abstract{

    public function direct($skin){
        if($skin==0){
            $options = array('layout' => 'layout',);  
            Zend_Layout::startMvc($options);
        }   
        if($skin==1){
            $options = array('layout' => 'nskin',);  
            Zend_Layout::startMvc($options);
        }
        if($skin==2){
            $options = array('layout' => 'nskin2',);  
            Zend_Layout::startMvc($options);
        }
        if($skin==3){
            $options = array('layout' => 'cskin',);  
            Zend_Layout::startMvc($options);
        }
        if($skin==4){
            $options = array('layout' => 'layout2',);  
            Zend_Layout::startMvc($options);
        }
    
    }
}